home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20021006-20030409 / 000223_Christopher.Jones@oracle.comX_Mon Jan 20 10:05:34 EST 2003.msg < prev    next >
Text File  |  2020-01-01  |  4KB  |  117 lines

  1. Article: 14014 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!cyclone.swbell.net!cyclone-sf.pbi.net!216.218.192.242!news.he.net!chekhov.conxion.net!news.oracle.com!not-for-mail
  3. Followup-To:  comp.databases.oracle.server
  4. Sender: cjones@iron2-au
  5. Newsgroups: comp.databases.oracle.server,comp.security.ssh,comp.terminals,comp.protocols.kermit.misc
  6. Subject: Re: Strange behavior with SQLPLUS (Oracle)
  7. References: <a8c29269.0301140753.7ee5175c@posting.google.com> <a8c29269.0301171317.2c874c13@posting.google.com>
  8. From: Christopher.Jones@oracle.comX
  9. Message-ID: <uhec4y4y5.fsf@oracle.comX>
  10. Lines: 97
  11. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
  12. MIME-Version: 1.0
  13. Content-Type: text/plain; charset=us-ascii
  14. Date: 20 Jan 2003 12:40:02 +1100
  15. NNTP-Posting-Host: 140.83.23.8
  16. X-Trace: news.oracle.com 1043027198 140.83.23.8 (Sun, 19 Jan 2003 17:46:38 PST)
  17. NNTP-Posting-Date: Sun, 19 Jan 2003 17:46:38 PST
  18. Xref: newsmaster.cc.columbia.edu comp.databases.oracle.server:215391 comp.security.ssh:30868 comp.terminals:17752 comp.protocols.kermit.misc:14014
  19.  
  20. dba_222@yahoo.com (Roger Redford) writes:
  21.  
  22. If COLUMN has the effect you want, then I think it will be a
  23. SQL*Plus issue.
  24.  
  25. Depending what part of your setup is "new", my guesses for
  26. the cause are:
  27.  
  28.     (i) a new version of the server optimizes buffer
  29.     allocations differently, or needs to cater for different
  30.     character sets.  SQL functions like SUBSTR will display
  31.     different default column widths then you were used to.
  32.  
  33.     (ii) Different Oracle NLS settings cause buffer
  34.     expansion.
  35.  
  36. Since your neighbor's terminal is OK then I would
  37. triple-check your "copying environments" test.
  38.  
  39. Perhaps using the web based iSQL*Plus will help in general?
  40. Because it uses HTML tables the browser does most of the
  41. column resizing.
  42.  
  43. Chris
  44.  
  45.  
  46. > Hi guys,
  47. > Thanks for all your responses.  With sqlplus I tried all these things:
  48. > set trimspool on/off
  49. > set linesize
  50. > copying environments
  51. > and it made no difference.  I still had the same symptom.  
  52. > Only formatting the column works.  Which, as I mentioned, is a lot 
  53. > more work for every ad hoc query. 
  54. > I'm thinking that this is really not a sqlplus issue, but a
  55. > terminal issue.  Any ideas?
  56. > Thanks
  57. > dba_222@yahoo.com (Roger Redford) wrote in message news:<a8c29269.0301140753.7ee5175c@posting.google.com>...
  58. > > I've recently moved to a new environment, and I'm getting some strange
  59. > > symptoms with sqlplus.  The environment is:
  60. > > 
  61. > > Oracle 9.2, on solaris
  62. > > Ibm thinkpad laptop
  63. > > Smarterm and Putty
  64. > > 
  65. > > I've used both Smarterm and Putty to connect to unix and use sqlplus.  It is 
  66. > > using SSH, but the symptoms occur whether I am just using telnet, or ssh. 
  67. > > 
  68. > > 
  69. > > The symptom is:
  70. > > 
  71. > > When do I select some long columns, such as TABLE_OWNER, 
  72. > > OR table_name, the field takes up a whole line.
  73. > > 
  74. > > 
  75. > > IE. 
  76. > > 
  77. > > Select     table_owner ,
  78. > >         table_name  , 
  79. > >         partition_name,
  80. > >         NUM_ROWS,
  81. > >         LAST_ANALYZED
  82. > > from        all_tab_partitions
  83. > > where        NUM_ROWS = 0
  84. > > ORDER BY     TABLE_OWNER,
  85. > >         TABLE_NAME,
  86. > >         PARTITION_NAME
  87. > > 
  88. > > 
  89. > > I have tried: 
  90. > > set linesize 30000
  91. > > substr(table_owner, 1, 20) as table_owner 
  92. > > 
  93. > > Yet, no matter what I do, the symptoms persist.  
  94. > > 
  95. > > Set wrap is on.  If I set it off, I will only see the first field.
  96. > > 
  97. > > The crazy thing is, that my neighbors' sqlplus works normally,
  98. > > and only returns 30 or less columns.  
  99. > > 
  100. > > 
  101. > > Is there a setting that I should be concerned about?  Is it in 
  102. > > sqlplus, or in the client software (Putty, or Smarterm)?
  103. > > 
  104. > > 
  105. > > Thanks
  106.  
  107. -- 
  108. Christopher Jones, Oracle Corporation, Australia.
  109.